<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://amc.af.mil/portal-el" prefix="portal" %>
<%@ taglib uri="http://struts.apache.org/tags-html-el" prefix="html" %>
<%@ taglib uri="http://amc.af.mil/radtaglibrary" prefix="rad" %>
<rad:useBean id="rankViewHelper"/>
<html>
<head>
    <title>Register Account</title>
</head>

<body>

<portal:box title="Register Account">
<div id="standard">
    <p>Please enter your email account to register to log into the ADPE Tracker.</p>

    <p>&nbsp;</p>
    <html:form method="post" action="accounts/create.do">

        <p>
            <label for="email">Email Address:</label>
            <html:text property="email" styleId="email" maxlength="50"/>
        </p>

        <p>
            <label for="firstName">First Name</label>
            <html:text property="firstName" styleId="firstName"/>
        </p>

        <p>
            <label for="middleInitial">Middle Initial</label>
            <html:text property="middleInitial" styleId="middleInitial"/>
        </p>

        <p>
            <label for="lastName">Last Name</label>
            <html:text property="lastName" styleId="lastName"/>
        </p>

        <p>
            <label for="rankId">Rank</label>
            <html:select property="rankId" styleId="rankId">
                <html:optionsCollection name="rankViewHelper"
                                        property="all"
                                        value="id"
                                        label="name"/>
            </html:select>
        </p>
        <html:submit value="Register"/>
    </html:form>
</div>
</portal:box>

</body>
</html>